package com.hfxt.entity;

import java.util.HashSet;
import java.util.Set;

public class Role {

    private Integer roleid;
    private  String rolename;

    //role---uses的关系  一对多
    private Set<Uses> users=new HashSet<>();

    public Integer getRoleid() {
        return roleid;
    }

    public void setRoleid(Integer roleid) {
        this.roleid = roleid;
    }

    public String getRolename() {
        return rolename;
    }

    public void setRolename(String rolename) {
        this.rolename = rolename;
    }

    public Set<Uses> getUsers() {
        return users;
    }

    public void setUsers(Set<Uses> users) {
        this.users = users;
    }
}
